#ifndef __BASIC_TYPES__OSAPI__TYPES_H__
#define __BASIC_TYPES__OSAPI__TYPES_H__

#include <public/osapi.h>

#if 0
//typedef unsigned char		    uint8_t;
typedef unsigned short int	    uint16_t;
typedef	unsigned long int	    uint32_t;
typedef	unsigned long long int	uint64_t;
#endif

#define	UINT8		uint8_t
#define	UINT16		uint16_t
#define UINT32		uint32_t
#define UINT64		uint64_t
#define	INT8		int8_t
#define	INT16		int16_t
#define	INT32		int32_t
#define	INT64		int64_t

#define BOOL		unsigned int

#ifndef TRUE
#define	TRUE		1
#endif
#ifndef FALSE
#define FALSE		0
#endif
#ifndef NULL
#define	NULL		0
#endif

/* TODO: This should be in arch/types */
#define BITS_PER_LONG 32

#define INT64_LITERAL(X)  ((INT64)(X##LL))
#define UINT64_LITERAL(X) ((UINT64)(X##ULL))

#endif // __BASIC_TYPES__OSAPI__TYPES_H__
